<!DOCTYPE html>
<html lang="en">
<head>
    {include file="common/head"}
</head>
<body class="body-wrapper">
{include file="common/menu"}
{include file="common/banner_one"}
<section class="news section">
    <div class="container">
        <div class="row mt-30">
            <div class="col-lg-8 col-md-10 mx-auto">
                <div class="block">
                    <article class="blog-post single">
                        <div class="post-thumb">
                            <img src="{$Info.thumb}" alt="post-image" class="img-fluid">
                        </div>
                        <div class="post-content">
                            <div class="date">
                                <h4>{hkcms:date name="$Info.publish_time" format="Y"}<span>{hkcms:date name="$Info.publish_time" format="m-d"}</span></h4>
                            </div>
                            <div class="post-title">
                                <h3>{$Info.title}</h3>
                            </div>
                            <div class="post-meta">
                                <ul class="list-inline">
                                    <li class="list-inline-item">
                                        <i class="fa fa-list"></i>
                                        <a href="{$Info.category.url}">{$Info.category.title}</a>
                                    </li>
                                    <li class="list-inline-item">
                                        <i class="fa fa-user-o"></i>
                                        <a href="#!">{$Info.author}</a>
                                    </li>
                                    <li class="list-inline-item">
                                        <i class="fa fa-eye"></i>
                                        <a href="#!">{$Info.views}</a>
                                    </li>
                                </ul>
                            </div>
                            <div class="post-details">
                                <p>
                                    {$Info.content}
                                </p>
                                {hkcms:addons name="tags"}
                                <div class="share-block">
                                    <div class="tag">
                                        <p>
                                            Tags:
                                        </p>
                                        <ul class="list-inline">
                                        {hkcms:taglist arcid="$Info['id']" model="$Info['model_id']"}
                                            <li class="list-inline-item">
                                                <a href="{$item.url}">{$item.title}</a>
                                            </li>
                                        {/hkcms:taglist}
                                        </ul>
                                    </div>
                                </div>
                                {/hkcms:addons}
                                <div class="share-block">
                                    <div class="tag">
                                        <p>
                                            {:__('Pre posts')}:{hkcms:prenext type="pre" len="10" dot="..."}<a href="{$item.url}" class="previous-post"> {$item.title}</a>{else /}<a href="#!" class="previous-post"> {:__('No more')}</a>{/hkcms:prenext}
                                        </p>
                                    </div>
                                    <div class="share">
                                        <p>
                                            {:__('Next posts')}:{hkcms:prenext type="next" len="10" dot="..."}<a href="{$item.url}" class="next-post"> {$item.title}</a>{else /}<a href="#!" class="next-post"> {:__('No more')}</a>{/hkcms:prenext}
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </article>
                </div>
            </div>
            <div class="col-lg-4 col-md-10 mx-auto">
                <div class="sidebar">
                    <div class="widget category">
                        {if $Cate.parent_id}
                        <h5 class="widget-header">{hkcms:channel name="$Cate['parent_id']"}{$item.title}{/hkcms:channel}</h5>
                        {else /}
                        <h5 class="widget-header">{$Cate.title}</h5>
                        {/if}
                        <ul class="category-list m-0 p-0">
                            {hkcms:channel name="$Cate['id']" type="peer" ismenu="1" currentstyle="active" istotal="1"}
                            <li><a href="{$item.url}">{$item.title} <span class="float-right">({$item.total})</span></a></li>
                            {/hkcms:channel}
                        </ul>
                    </div>
                    <div class="widget latest-post">
                        <h5 class="widget-header">{:__('Hot news')}</h5>
                        {hkcms:content catid="9" order="views desc" num="5"}
                        <div class="media">
                            <img src="{$item.thumb}" class="img-fluid" alt="post-thumb">
                            <div class="media-body">
                                <h6><a href="{$item.url}">{$item.title}</a></h6>
                                <p><span class="fa fa-calendar"></span>{hkcms:date name="$item.publish_time" format="Y-m-d"}</p>
                            </div>
                        </div>
                        {/hkcms:content}
                    </div>
                    {hkcms:addons name="tags"}
                    <div class="widget tags">
                        <h5 class="widget-header">Tags</h5>
                        <ul class="list-inline">
                            {hkcms:taglist arcid="$Info['id']" model="$Info['model_id']"}
                            <li class="list-inline-item"><a href="{$item.url}">{$item.title}</a></li>
                            {/hkcms:taglist}
                        </ul>
                    </div>
                    {/hkcms:addons}
                </div>
            </div>
        </div>
    </div>
</section>

{include file="common/map"}
{include file="common/footer"}
</body>
</html>